package com.atguigu.service;

import com.atguigu.bean.User;

/**
 * @ Author:任留辉
 * @ Description:
 * @ Date:Created in 15:00 2021/3/10 0010
 */
public interface UserService {

    /**
     * 验证登录返回boolean结果
     * @param username
     * @param password
     * @return
     */
    boolean checkLoginReturnBoolean(String username, String password);

    /**
     * 验证登录返回用户信息
     * @param username
     * @param password
     * @return
     */
    User checkLogin(String username, String password);

    /**
     * 注册
     * @param user
     * @return
     */
    boolean regist(User user);
}
